﻿<Window x:Class="frmAddressBook"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Address Book" Height="298" Width="242" Background="Gray" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen">
    <Grid>
        <RadioButton Height="13.8" HorizontalAlignment="Left" Name="radGV" VerticalAlignment="Top" Width="42" Margin="20,5,0,0">GV</RadioButton>
        <RadioButton Height="13.8" Margin="77,4,0,0" Name="radClient" VerticalAlignment="Top" HorizontalAlignment="Left" Width="58">Client</RadioButton>
        <RadioButton Height="13.8" HorizontalAlignment="Right" Margin="0,4,9,0" Name="radSystem" VerticalAlignment="Top" Width="62">System</RadioButton>
  
         <ListView Margin="5,23,5,29" Name="lstContacts" HorizontalAlignment="Stretch">
            <ListView.View >
                <GridView Selector.IsSelected="true" >
                    <GridView.Columns>
                        <GridViewColumn Width="100" Header="PersonName" DisplayMemberBinding="{Binding Path=personname}" ></GridViewColumn>
                        <GridViewColumn Width="150" Header="EmailAddress" DisplayMemberBinding="{Binding Path=EmailAddress}"></GridViewColumn>
                    </GridView.Columns>
                </GridView>
            </ListView.View>
        </ListView>
        <Button Height="20" HorizontalAlignment="Left" Margin="5,0,0,3" Name="btnAdd" VerticalAlignment="Bottom" Width="88">Add</Button>
        <Button Height="20" HorizontalAlignment="Right" Margin="0,0,5,3" Name="btnCancel" VerticalAlignment="Bottom" Width="81">Cancel</Button>
    </Grid>
</Window>
